#include "mempoolimpl.h"

CMemPoolImpl::CMemPoolImpl(void)
{
	
}

CMemPoolImpl::~CMemPoolImpl(void)
{
	
}
std_method_impl CMemPoolImpl::Init(int Argc, basic_tchar* Argv[], IBase* pRot, IBase* pBase)
{ 
	rc_assert(pRot != NULL, E_FAIL)
	return pRot->QueryInterface(IID_IComRunningObjectTable, (void**)&m_pRot);
}
std_method_impl CMemPoolImpl::Uninit()
{
	HRESULT		hr	=	S_OK;

	return hr;
}
std_method_impl CMemPoolImpl::Start(_pinstance hInstance, UINT uType)
{
	HRESULT		hr	=	S_OK;

	return hr;
}
std_method_impl CMemPoolImpl::Stop(UINT uExitCode)
{
	HRESULT		hr	=	S_OK;
	return hr;
}
std_method_type_impl(void*) CMemPoolImpl::Malloc(size_t size)
{
	return malloc(size);
}
std_method_type_impl(void*) CMemPoolImpl::Calloc(size_t num, size_t size)
{
	return malloc(size);
}
std_method_type_impl(void*) CMemPoolImpl::Realloc(void *ptr, size_t size)
{
	return malloc(size);
}
std_method_impl CMemPoolImpl::Free(void* ptr)
{
	return S_OK;
}

